home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
029a
/
dupes310.zip
/
DUPES.DOC
< prev
next >
Wrap
Text File
|
1992-01-11
|
23KB
|
583 lines
--------------
| |
| Dupes |
| |
| Version 3.10 |
| |
--------------
===============================================================
| TABLE OF CONTENTS |
===============================================================
This file contains the following sections:
GENERAL
EXAMPLES
OUTPUT
PRINTING OR FILING THE OUTPUT
SYSTEM REQUIREMENTS
INTERNATIONAL SUPPORT
MESSAGES
EXIT CODES
CREDITS
REVISION HISTORY
WHAT'S IN THIS PACKAGE
REGISTRATION
SHAREWARE
COPYING
OMBUDSMAN
===============================================================
| GENERAL |
===============================================================
Dupes lets you recover wasted space on your disks by finding
duplicate files, empty files & empty directories. Deleting
unneeded files & directories gives you more room to store data.
To run Dupes, enter:
DUPES [drive:[/M][/Odir][/X[S]dir]...] [/A] [/S] [?]
Arguments in brackets ([]) are optional. Ellipses (...) show
arguments you can repeat. Don't put spaces between the drive
letter, colon, & the /M, /O & /X arguments. If you give no drive
letter, Dupes checks the default drive. Argument meanings:
drive Disk drive letter. Don't list a particular drive more
than once.
/M Check multiple disks on a particular drive. You could use
/M to check a series of diskettes.
2
/Odir Check only the specified directory & its subordinate
directories. Put the full directory name after the /O,
starting with a backslash. This option is useful on a
large, multiuser system where each user has a separate
directory. If you don't use /O, Dupes checks the entire
disk (unless you use /X--see below).
/Xdir Skip the specified directory. Put the full directory name
after the /X, starting with a backslash. You could use /X
if you have a directory where are no duplicate files, but
where Dupes' attempts to check might cause sharing
violations. Another use for /X is when you have a
directory where you intentionally keep duplicate files.
/XSdir Like /X, except it exempts the specified directory & all
its subdirectories.
/A Pause after each group of duplicate files & ask if you
want to delete them. It also makes Dupes ask if you want
to delete empty files & directories. NOTE: Don't use /A
if you redirect Dupes' output. See the section on Output.
/S Consider files duplicates only if their names, sizes &
date/time stamps are the same. If you don't use /S, Dupes
considers files duplicates if just the names match.
? Shows program syntax.
Note: If you want to apply /M, /O, /X or /XS to the default
drive, you must explicitly give its drive letter.
===============================================================
| EXAMPLES |
===============================================================
DUPES
Checks the default drive only.
-----------------------------------------------------------------
DUPES D:
Checks drive D:.
-----------------------------------------------------------------
DUPES C: D:
Checks drives C: & D:.
-----------------------------------------------------------------
3
DUPES /A /S
Checks the default drive. It reports files as duplicates only if
their names, sizes & date/time are the same. After displaying
duplicates, Dupes asks if you want to delete them.
-----------------------------------------------------------------
DUPES A:/M C:
Checks drives A: & C:, prompting for multiple diskettes in
drive A:.
-----------------------------------------------------------------
DUPES A: C:/O\WOR
Checks drives A: & C:. It checks all of drive A:, but only
directory \WOR (and subordinate directories) on drive C:.
-----------------------------------------------------------------
DUPES A:/O\TMP C:/M D:/X\WP /S
Checks drive A:, but only in directory \TMP & subordinate
directories. It checks all of drive C:, prompting for multiple
diskettes. It checks all of drive D:, except directory D:\WP. On
all the checked disks, it considers files duplicates only if
their name, size & date/time match.
-----------------------------------------------------------------
DUPES C:/XS\WINDOWS
Checks all of drive C:, except for the \WINDOWS directory & all
its subdirectories.
-----------------------------------------------------------------
DUPES C:/O\WINDOWS C:/O\DOC
Checks only directories \WINDOWS and \DOC on drive C:.
===============================================================
| OUTPUT |
===============================================================
If Dupes finds duplicate files, it shows the file name &
size, date/time stamp, disk name (if you use /M) & directory of
each copy. Example:
4
CUSTOMER.DBF
12230 10-13-90 06:46:28a CUST A:\
12230 10-13-90 06:46:28a C:\CUSTOMER
^ ^ ^ ^ ^
File Date last Time last Disk Directory
size modified modified name
In the above example, Dupes found the file CUSTOMER.DBF on
both drive A: & C:. Since the two copies have identical sizes &
date time stamps, they are probably the same file.
At the end of the file list, Dupes shows how many potential
duplicates it found, & the estimated disk space you would gain by
deleting them. Note: The number displayed will probably be
larger than the sum of the file sizes shown in directory
listings. This is because it is based on disk cluster size,
giving a more accurate measure of the disk space the files
occupy. If you use the /A argument & have Dupes delete files for
you, the number reflects the approximate amount of space you can
save by deleting the remaining duplicate files.
NOTE: The appearance of the output depends on your DOS
country code setting (see the section on International Support).
The example above uses the United States format.
===============================================================
| PRINTING OR FILING THE OUTPUT |
===============================================================
Normally, output goes to the screen. If you have many
duplicate files, though, the output may quickly scroll off the
screen. To avoid this problem, you can send the output to a file
or printer, to examine at your leisure. In addition, sending
the output to a hard disk file usually makes Dupes run faster.
NOTE: Don't redirect the output if you use the /A option. If
you do, you won't see the prompt asking if you want to delete
files, & the system will seem to have crashed.
To send the output to a file, enter:
DUPES > DUPES.TXT
To send the output to a parallel printer, enter:
5
DUPES > PRN
To send the output to a serial printer, enter:
DUPES > COM1 (or COM2, or whatever)
To print only part of the output, press ^P or ^PrtSc when the
output reaches the part you want to print.
To make Dupes pause after each full screen, enter:
DUPES | MORE
NOTE: In this case, the DOS MORE program must be in the current
directory, or in a directory shown in your PATH environment
variable. If you're not familiar with these terms, see your DOS
manual for details.
===============================================================
| SYSTEM REQUIREMENTS |
===============================================================
Dupes requires MS-DOS or PC-DOS, version 2.0 or later. The
number of files it can handle depends on how much memory you
have. It can use up to 640K of memory.
===============================================================
| INTERNATIONAL SUPPORT |
===============================================================
Dupes can display numbers, dates & times in a format
appropriate to your country. By default, it uses United States
formats. To specify a different format, use the COUNTRY command
in your CONFIG.SYS file. For example:
COUNTRY=nnn
where "nnn" is a three digit country code (usually, your
country's international telephone dialing code). Your DOS manual
has further details on the COUNTRY command.
===============================================================
| MESSAGES |
===============================================================
Aborted as requested. You pressed ^C or ^Break.
6
Couldn't delete. DOS didn't delete the file for some reason.
Ensure the file isn't "read only" or in use by another program.
Couldn't get drive data. For some reason, DOS would not tell
Dupes what kind of disk was in a drive. You may have a hardware
problem.
Delete (Y/N/I/S/?)? You used /A, so Dupes is asking if you want
to delete this file. To delete it, press Y. To keep it, press
N. To ignore this group of files, press I. To have Dupes stop
asking if you want to delete files, press S. To see the meanings
of these letters, press ?.
Directories must start with backslash. Omit the drive letter &
colon when using /O or /X. Just give the full directory path,
starting with a backslash (i.e., the root directory).
Directory too long. The directory name you gave with /O or /X is
too long (& may not even exist).
Empty directories. The following directories have no files in
them. However, they still occupy disk space. Deleting them (use
the RD or RMDIR command) will free space.
Empty files. The following files have no data in them, but they
still occupy disk space. Deleting them (use the DEL or ERASE
command) will free space.
No duplicates found. Dupes found no files with the same name
(or, if you used /S, with the same name, size & date/time stamp).
No duplicates remaining. Dupes found duplicate files, but you
deleted them all.
No such directory. You gave a non-existent directory name with
the /O option.
No such drive. You gave a non-existent drive on the command
line.
XXXXX potential duplicate(s)... Dupes found files that may be
duplicates, but only you can decide. Note: If you use the /A
option & delete files, the "potential duplicate(s)" message
reflects the number of files remaining after deletions.
Not enough memory. Your computer needs more memory to handle all
the file names on the disk(s). If you're running other programs
concurrently, or have resident utilities or device drivers, try
deinstalling them. If you're running Dupes from a menu system,
try running it DOS command line instead.
Put disk "xxxxx" in drive X:, then press a key. You used /M, so
you must insert the proper diskette before Dupes can delete the
7
file or directory you requested.
Put (next) disk in drive X: & enter its name. You used /M &
Dupes is asking for the diskette (or next diskette) in that
drive. Insert the requested diskette, then enter its name (up to
five characters). If there are no more diskettes for that drive,
just press Enter.
Remove? (Y/N/S). You used /A, so Dupes is asking if you want to
remove the indicated directory, which is empty. Press Y to
remove it, N to not remove it, or S to have Dupes stop asking.
Sorry, you already used that disk name. This appears when you
try to re-use a disk name on a drive with the /A option. Each
disk name must be unique.
Syntax:.... Please check your syntax & try again.
Too many directories. Dupes can't handle all the directories on
the specified disk(s). If possible, try simplifying the
directory structure, using /O, or checking fewer drives at a
time.
Too many empty directories. Dupes can't handle all the empty
directories on the specified disk(s). If possible, try
simplifying the directory structure, using /O, or checking fewer
drives at a time.
Too many disks. Dupes can't handle all the specified disk(s).
If possible, try checking fewer drives at a time.
Too many files - can only handle %lu. Take the same action as
for the "Not enough memory" message.
===============================================================
| EXIT CODES |
===============================================================
Dupes reports the following exit codes. You can use these
with the ERRORLEVEL function in batch files. If you're not
familiar with this term, see your DOS manual for details.
0 No duplicates/empties found
1 Duplicates/empties found
2 User aborted
3 Error occurred
===============================================================
| CREDITS |
===============================================================
Dupes was written in C by Richard W. Adams. It was developed
with PC-Write & the Microsoft C Optimizing Compiler.
8
The author is a member of the Association of Shareware
Professionals (ASP). You may reach him at the address given in
REGISTER.DOC. Should that address no longer be valid, try
contacting him through the ASP (545 Grover Road, Muskegon, MI
49442). The author is also sometimes available on CompuServe
(76430,1071).
===============================================================
| REVISION HISTORY |
===============================================================
1.00 Original version
2.00 Changed name from The Duplicate File Finder
Added display of file size & date/time stamp
Added capability to specify drive
Added /S option
3.00 Added capability to check multiple drives
Added capability to find empty directories
Added /O, /M, /P & /X options
Greatly improved speed
3.10 Increased the number of files Dupes can handle
Added check for empty files
Added /XS option
Added on line help for deleting files & directories
Added support for international date, time & number formats
Changed /P option to /A, for clarity
Added check for duplicate disk names
Revised exit codes
===============================================================
| WHAT'S IN THIS PACKAGE |
===============================================================
This package contains the following files:
DUPES.EXE The program itself
DUPES.DOC Documentation
REGISTER.DOC Registration form
VENDOR.DOC Catalog of other software available &
instructions on ordering disks
===============================================================
| REGISTRATION |
===============================================================
Dupes is copyright by Richard W. Adams, all rights reserved.
Dupes is "shareware"--if you use it for more than 30 days, you
must register. To do so, complete the registration form in
REGISTER.DOC & send it with a check for the indicated amount to
the author at the address on the form.
9
When you register, you receive:
o The right to use your copy of Dupes on a single computer.
o Free technical support by mail for three months.
o Eligibility for free copies of future versions, if you're
the first to suggest improvements or report bugs that are
fixed/incorporated in future versions.
Not only is registration a legal & ethical requirement, but
registration fees give shareware authors the incentive to develop
new software & improve old ones.
Tax exempt Christian religious organizations & churches are
eligible for free registration of Dupes for official business.
Send a written request to the author, & you'll receive
registration forms. The registration takes effect when you
complete & return the forms. This is a charitable donation.
Companies, government agencies & other organizations may
obtain site licenses for Dupes, at greatly reduced unit costs.
Contact the author for details & a price list.
===============================================================
| SHAREWARE |
===============================================================
Shareware distribution gives users a chance to try software
before buying it. If you try a Shareware program & continue using
it, you are expected to register. Individual programs differ on
details--some request registration, others require it, & some
specify a maximum trial period. With registration, you get
anything from the simple right to continue using the software to
an updated program with printed manual.
U.S. & international copyright laws apply to both Shareware
and commercial software, & the copyright holder retains all
rights, with a few specific exceptions as stated below.
Shareware authors are accomplished programmers, just like
commercial authors, & the programs are of comparable quality. (In
both cases, there are good programs & bad ones!) The main
difference is in the method of distribution. The author
specifically grants the right to copy & distribute the software,
either to all & sundry or to a specific group. For example, some
authors require written permission before a commercial disk
vendor may copy their Shareware.
Shareware is a distribution method, not a type of software.
You should find software that suits your needs & pocketbook,
whether it's commercial or Shareware. The Shareware system makes
fitting your needs easier, because you can try before you buy.
And because the overhead is low, prices are low also. Shareware
has the ultimate money-back guarantee--if you don't use the
10
product, you don't pay for it.
DISCLAIMER - AGREEMENT
Users of Dupes must accept this disclaimer of warranty:
"Dupes is supplied as is. The author disclaims all warranties,
expressed or implied, including, without limitation, the
warranties of merchantability & of fitness for any purpose. The
author assumes no liability for damages, direct or consequential,
which may result from the use of Dupes."
Dupes is a Shareware program & is provided at no charge for
your evaluation. Feel free to share it with your friends, but
please don't give it away altered or as part of another system.
The essence of "user-supported" software is to provide personal
computer users with quality software without high prices, & yet
to provide incentive for programmers to continue to develop new
products. If you find Dupes useful & continue to use it after a
reasonable trial period, you must pay a registration fee (see
REGISTER.DOC). The registration fee licenses one copy for use on
any one computer at any one time. You must treat this software
just like a book. For example, any number of people may use the
software & may freely move it from one computer to another, so
long as it is used on only one computer at a time. Just as two
different people can't read a book at the same time.
Commercial users of Dupes must register & pay for their
copies of Dupes within 30 days of first use or their license is
withdrawn. Contact the author if you're interested in a site
license.
Anyone distributing Dupes for any kind of remuneration must
first contact the author for authorization. This authorization
is hereby granted to distributors recognized by the (ASP) as
adhering to its guidelines for shareware distributors, & such
distributors may begin offering Dupes immediately. (However, they
must still advise the author so he can keep them up-to-date with
the latest version of Dupes.)
You are encouraged to pass a copy of Dupes to your friends
for evaluation. Please encourage them to register their copy if
they find it useful.
===============================================================
| COPYING |
===============================================================
You may copy & distribute Dupes freely, as long as you:
o Don't distribute it for commercial purposes without written
permission from the author (except ASP distributors; see
above).
o Charge no fee other than a nominal one to cover distribution
11
costs.
o Don't rent or lease the software.
o Include all constituent files (see the section titled
"WHAT'S IN THIS PACKAGE")
o Don't change the software or documentation.
===============================================================
| OMBUDSMAN |
===============================================================
The author is a member of the Association of Shareware
Professionals (ASP). ASP wants to make sure that the shareware
principle works for you. If you can't resolve a shareware related
problem with an ASP member by contacting the member directly, ASP
may be able to help. The ASP Ombudsman can help you resolve a
dispute or problem with an ASP member, but does not provide
technical support for members' products. Please write to the ASP
Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a
CompuServe mail message to the ASP Ombudsman (70007,3536).
_______
____|__ | (R)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER